import request from "@/utils/request";
import config from "@/config";

export default {
    msg: {
        url: `${config.API_PREFIX}/test/socket/msg`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    errorMsg: {
        url: `${config.API_PREFIX}/test/socket/errorMsg`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    successMsg: {
        url: `${config.API_PREFIX}/test/socket/successMsg`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    warningMsg: {
        url: `${config.API_PREFIX}/test/socket/warningMsg`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    alert: {
        url: `${config.API_PREFIX}/test/socket/alert`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    errorAlert: {
        url: `${config.API_PREFIX}/test/socket/errorAlert`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    successAlert: {
        url: `${config.API_PREFIX}/test/socket/successAlert`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    warningAlert: {
        url: `${config.API_PREFIX}/test/socket/warningAlert`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    notifies: {
        url: `${config.API_PREFIX}/test/socket/notifies`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    errorNotify: {
        url: `${config.API_PREFIX}/test/socket/errorNotify`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    successNotify: {
        url: `${config.API_PREFIX}/test/socket/successNotify`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    warningNotify: {
        url: `${config.API_PREFIX}/test/socket/warningNotify`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
    index: {
        url: `${config.API_PREFIX}/test/socket/index`,
        name: "msg",
        get: function () {
            return request.get(this.url);
        }
    },
}